package com.qriver.cloud.provider;

import com.sun.istack.internal.logging.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class ProviderController {

    Logger logger = Logger.getLogger(ProviderController.class);

    @RequestMapping("/provider")
    @ResponseBody
    public String provider() throws InterruptedException {
        logger.info("ClientB服务 的provider()方法！");
        Thread.sleep(1000 * 10);
        return "ClientB服务 的provider()方法！";
    }


}
